package com.example.othree.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@TableName("pollution_history_data_hsxt_sites")
public class PollutionHSXTSites implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String date;

    private String hour;

    private String station;

    private Float lat;

    private Float lon;

    private String city;

    private String county;

    @TableField("station_name")
    private String stationName;

    @TableField("PM25")
    private Integer PM25;

    @TableField("PM10")
    private Integer PM10;
    @TableField("SO2")
    private Integer SO2;

    @TableField("CO")
    private Float CO;

    @TableField("NO2")
    private Float NO2;

    @TableField("O3")
    private Float O3;


}
